<?php
namespace Client\Model;
use Think\Model;

class DiscussModel extends Model{
		
	protected $_validate=array(
		array('pid','require','日期不能为空',0,'regex'),
		array('uid','require','用户id不能为空',0,'regex'),
		array('content','require','发布内容不能为空',0,'regex'),
	);
	protected $_auto 	=array(
		array('ctime','time',1,'function'),
	);
}
?>